package q.test0421library.Moudle;

import lombok.Data;
import org.springframework.context.annotation.Configuration;

import java.util.List;


@Data
public class PageResult<T> {
  private int total;
  private List<T> records;
  private PageRequest pageRequest;

  public PageResult(int total,List<T> list,PageRequest pageRequest){
      this.pageRequest=pageRequest;
      this.total=total;
      this.records=list;
  }


}
